1
general::
Phrase(s): warn someone away from someone or something
to advise someone to avoid someone or something. • We warned her away from the danger, but she did not heed our warning. • Why didn’t you warn me away from Roger?
McGrawhill's American Idioms And Phrasal Verbs